﻿using System;

namespace easyccms.General
{
    /// <summary>
    /// Enumeration used in cms.
    /// </summary>
    public static class Enumerations
    {
        /// <summary>
        /// 
        /// </summary>
        public enum WebSiteSettings
        {
            Unkown=0,
            Web_Site_Offline =1,
            Web_Site_Offline_Message=2,

            
        }
    }

    /// <summary>
    /// Location extensions.
    /// </summary>
    public static class LocalizationMarketExtensions
    {
        public static string GetLabel(this Enum myEnum)
        {
            return myEnum.ToString().Replace("_apostrophe_", "'").Replace("_slash_", "/").Replace("_comma_", ",").Replace("_dash_", "-").Replace("_openbracket_", "(").Replace("_closebracket_", ")").Replace('_', ' ');
        }
    }
}